#ifndef _ADCSCAN_H_
#define _ADCSCAN_H_


#define ADCKEY_PORT		GPIOD
#define ADCKEY_PIN		GPIO_PIN_2


int adcScan_Init(void);

int adcScan_StructDeinit(void);

enum adcScan_Status {
	scan_invaild = 0,
	scna_vaild
};

void adcScan_GetValue(void);

int adcSan_DeInit(void);

int adcScan_Init(void);


unsigned char getVoltage(void);


unsigned char getSKeyStatus(void);

unsigned char getLKeyStatus(void);

unsigned char getMerSwStatus(void);


unsigned char getCharingStatus(void);


#endif


